package com.xsir.dto;

import com.xsir.entity.Article;
import com.xsir.entity.Category;
import com.xsir.entity.Tag;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author xsir
 * @date 2020/11/16
 */
@Setter
@Getter
@ToString
@NoArgsConstructor
public class ArticleView implements Serializable {
    /**
     * 是否发布 默认true
     */
    private Boolean publish = true;
    
    /**
     * 文章
     */
    private Article article;
    
    /**
     * 类别
     */
    private Category category;
    
    /**
     * 标签
     */
    private List<Tag> tags;
}
